/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.store.dto;

import com.javaeye.common.dto.DTO;

public class MaterialsBatchDetail implements DTO {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2844773041688424970L;
	
	public static final int MATERIALS_BATCH_TYPE_PRODUCT = 0;
	
	public static final int MATERIALS_BATCH_TYPE_MATERIALS = 1;

	private int id;
	
	private int materialsId;
	
	private String batchNo;

	//计划数量(成品)
	//不合格品入库数量(原料)
	private float planNumber;
	
	//合格入库数量(成品)
	//不合格品出库数量(原料)
	private float number;
	
	//未使用(成品)
	//合格品入库数量(原料)
	private float inNumber;
	
	//发货数量(成品)
	//合格品出库数量(原料)
	private float outNumber;
	
	private double price;
	
	//0表示产品，1表示原料
	private int type;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getMaterialsId() {
		return materialsId;
	}

	public void setMaterialsId(int materialsId) {
		this.materialsId = materialsId;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public float getNumber() {
		return number;
	}

	public void setNumber(float number) {
		this.number = number;
	}
	
	public float getPlanNumber() {
		return planNumber;
	}

	public void setPlanNumber(float planNumber) {
		this.planNumber = planNumber;
	}
	
	public float getOutNumber() {
		return outNumber;
	}

	public void setOutNumber(float outNumber) {
		this.outNumber = outNumber;
	}

	public void setInNumber(float inNumber) {
		this.inNumber = inNumber;
	}

	public float getInNumber() {
		return inNumber;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getPrice() {
		return price;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getType() {
		return type;
	}
	
}
